package com.axonactive.yolo.service.interfaces;

import java.util.List;

import com.axonactive.yolo.domain.SubscribedFlightUserId;
import com.axonactive.yolo.domain.User;
import com.axonactive.yolo.exception.SubcribedFlightUserIdNotFoundException;

public interface SubscribedFlightUserIdService {
	public SubscribedFlightUserId create(SubscribedFlightUserId subcribedFlight);

	public SubscribedFlightUserId delete(int id)
			throws SubcribedFlightUserIdNotFoundException;

	public List<SubscribedFlightUserId> findAll();

	public SubscribedFlightUserId update(
			SubscribedFlightUserId subcribedFlightUserId)
			throws SubcribedFlightUserIdNotFoundException;

	public SubscribedFlightUserId findById(int id);

	public List<SubscribedFlightUserId> findByFlightId(String flightId);

	public List<SubscribedFlightUserId> findByUserId(int id);

	public SubscribedFlightUserId findByFlightIdAndUserId(String flightId,int userId);

	public List<Integer> findUserIDsByFlightId(String flightId);

	public List<User> findUsersByFlightId(String flightId);
}
